package factory.abstractFactory;

public class App2 {

    public static void main(String[] args) {
        System.out.println("KFC套餐");
        KFCFactory kfcFactory = new KFCFactory();
        kfcFactory.getDrinks().drink();
        kfcFactory.getFood().eat();

        System.out.println("三秦套餐");
        ShanQinFactory shanQinFactory = new ShanQinFactory();
        shanQinFactory.getDrinks().drink();
        shanQinFactory.getFood().eat();
    }

}
